<?php

class DocumentIndex extends Eloquent {

    /**
     * Set timestamps off
     */
    public $timestamps = false;
	
	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'document_index';
	
	public function template() {
		return $this->hasOne('Template');
	}
}
